package com.service;

import com.dao.Userdao;

/**
 * @author chenhs
 * @date 2021/4/10
 */
public class UserServiceImpl implements IUserService {
	
	private Userdao userDao ;
	//ioc控制翻转 （用户反过来控制程序）。将对象创建由程序写死改为用户自定义。
	public void setUserDao(Userdao userDao) {
		this.userDao = userDao;
	}
	

	
	public void getUser() {
		userDao.getUser();
	}
}
